package org.bonorsoft.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.bonorsoft.modules.system.entity.SysUser;

/**
 * @Description: 用户信息
 * @Author: WilliamYe
 * @Date:   2020-08-20
 * @Version: V1.0
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 通过用户账号查询用户信息
     * @param username
     * @return
     */
    public SysUser getUserByName(@Param("username") String username);
}
